///###############
//FILE          : InvalidDateException.java
//WRITER        : Lior Zimmerman, liorz06, 066462300
//WRITER        : Ohad Dan, ohad_dan, 036767960
//EXERCISE      : oop ex1 2008
//DESCRIPTION   : this exception is generated when a date is invalid
//###############
package oop.ex1.util;
/**
 * Handles an invalid date error.
 */
public class InvalidDateException extends Throwable {   
    private static final long serialVersionUID = 1L;
    /**
     * In case of an invalid date catch, prompt the given message.
     * @param msg The message to be prompt in case of date error.
     */
    public InvalidDateException( String msg ){
        super(msg);
    }
    /**
     * In case of an invalid date catch, prompt the given message.
     */
    public InvalidDateException() {
        super();
    }

}
